﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zmx2
{
    class Calculate
    {
    
        protected double num1;
        protected double num2;
        public double Num1
        {
            get { return this.num1; }
            set { this.num1 = value; }
        }
        public double Num2
        {
            get { return this.num2; }
            set { this.num2 = value; }
        }

        public virtual void DisplayResult(double num1, double num2)
        {
            Console.WriteLine("进行计算中...");
        }
    }
}
